/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.userbill.service.dto;

import lombok.Data;
import java.sql.Timestamp;
import java.math.BigDecimal;
import java.io.Serializable;

/**
* @website https://el-admin.vip
* @description /
* @author 毛晋辉
* @date 2020-09-02
**/
@Data
public class UserBillDto implements Serializable {

    /** 账单id */
    private Long id;

    /** 用户id */
    private String userId;

    /** 关联id */
    private String linkId;

    /** 0：支出；1：收入； */
    private Integer pm;

    /** 标题 */
    private String title;

    /** 种类 */
    private String category;

    /** 类型 */
    private String type;

    /** 数字 */
    private BigDecimal number;

    /** 剩余金额 */
    private BigDecimal balance;

    /** 备注 */
    private String mark;

    /** 0:待确定；1：有效；-1无效 */
    private Integer status;

    /** 创建时间 */
    private Timestamp createTime;
}